<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.inc.jsp"%>
<html>
<head>
<%@ include file="/common/head.inc.jsp" %>
</head>
<body>
<h2>Sample List!</h2>
<div>
	<table>
		<thead>
			<tr>
				<th>编号</th>
				<th>ID</th>
				<th>NAME</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${list}" var="item" varStatus="status">
			<tr>
				<td>${status.index}</td>				
				<td>${item.id}</td>
				<td>${item.name}</td>
			</tr>
		</c:forEach>
			
		</tbody>
	</table>
</div>
</body>

<script type="text/javascript" src="${webroot}/js/jquery/jquery-1.7.2.min.js"></script>
</html>
